
#include <Square.h>

Square::Square(int length):
	m_length(length)
{
}
void Square::setLength(int length)
{ 
	m_length = length;
}

int Square::getPerimeter() const
{
	return m_length*4;
}
int Square::getArea() const
{
	return m_length*m_length;
}
